#ifndef NUM_RECOGNIZER_H
#define NUM_RECOGNIZER_H
#include "num_recognizer_export.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifdef num_recognizer_EXPORTS
struct Recognizer;
#else
typedef struct _Recognizer Recognizer;
#endif

NUM_RECOGNIZER_EXPORT void num_recognizer_init();

NUM_RECOGNIZER_EXPORT void num_recognizer_create(const char *model_path, Recognizer **out_recognizer);

NUM_RECOGNIZER_EXPORT void num_recognizer_delete(Recognizer *recognizer);

NUM_RECOGNIZER_EXPORT int num_recognizer_recognize(Recognizer *recognizer, float *input_image, int *result);

NUM_RECOGNIZER_EXPORT int num_recognizer_recognize_png(Recognizer *recognizer, const char *png_path, int *result);

#ifdef __cplusplus
}
#endif

#endif
